<?php
include("common/common.php");

$id = $_GET['id'];

$db = Database::obtain(DB_SERVER, DB_USER, DB_PASS, DB_DATABASE);
$db->connect();

$data["status"] = "annulé";
$db->update("order_info", $data,"id=".$id);

$db->close();

redirect("index.php");
?>